/*
Copyright (C) 2021-2025 Casa Xu (also Zhiyan Xu) from HIT

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
*/

/*
 * LOS_RealTime.h
 *
 *  Created on: 2022年9月29日
 *      Author: 64435
 */

#ifndef APP_LAYER_INC_LOS_REALTIME_H_
#define APP_LAYER_INC_LOS_REALTIME_H_

#include "LOS_CAN.h"

extern uint16_t LOS_Time_MilSec;
extern uint32_t LOS_Time_Sec;
extern uint32_t LOS_Time_SecFromBoot;
extern double LOS_Time_Double;
extern uint16_t LOS_RealTime_Year;
extern uint8_t LOS_RealTime_Month;
extern uint8_t LOS_RealTime_Day;
extern uint8_t LOS_RealTime_Minute;
extern uint8_t LOS_RealTime_Hour;
extern uint8_t LOS_RealTime_Second;

void LOS_RTC_Calculate(uint32_t Second);




#endif /* APP_LAYER_INC_LOS_REALTIME_H_ */



